< previous page page_735 next page >

Page 735
9f31265bb40b592b1929e18a47ab28e5.gif
TIP
Its recommended that you dont use the prefix sp, because this is used for the built-in SQL Server system procedures.
Trigger Naming
A trigger should begin with the prefix trg, followed by the name of the table (leaving off that tables prefix). It should then be followed by del, ins, or updt for the Delete, Insert, or Update trigger, respectively. Here are some examples:
trgCustomers_del
trgCustomers_ins
trgCustomers_updt
View Naming
Views should begin with the prefix of qry. This matches the naming convention used in Microsoft Access databases. Here are some examples:
qryCustomerShow
qryCustomerInvoices
Default Naming
Defaults should begin with the prefix def:
defState
defCustType
Rule Naming
Rules should begin with the prefix rul:
rulState
rulCustType

 
< previous page page_735 next page >

If you like this book, buy it!